package webEquipeRechercheGwt.client.callback.consultation.commands;

import java.util.Collection;

import webEquipeRechercheGwt.client.entityMirror.PaperMirror;
import webEquipeRechercheGwt.client.entityShowingPanel.linkCreationPanel.ToPaperLinkCreationPanel;

public class CommandGetAllPapersImplToPaperLinkPanel implements
		CommandGetAllPapers {

	private ToPaperLinkCreationPanel target;
	
	public CommandGetAllPapersImplToPaperLinkPanel(ToPaperLinkCreationPanel target) {
		this.target = target;
	}

	@Override
	public void execute(Collection<PaperMirror> res) {
		target.setPapers(res);
	}

}
